FactoryNext framework for Connected Factories