Added reading the config file (tested) and starting the monitoring thread (not tested).