MES for mills and plants of the future