MindApp Program to control factory