Plug and Play monitoring and control architecture for optimization of large scale production processes