Added {} on if statement
Created monitor class for logging and info
Futrher implement on monitor
Added Q_Object macro for monitor
Added definitions for every method in monitor.cpp