factory for creating plc instances from configuration files
application entry point