Added possibility to pass configuration data to the monitor