Adding monitor daemon into its own class
Adding logger, command line options
Adding simple log statement to API
Replacing lots of code from bin script with class use