hopefully change the bad read out to better format thte output.
Code Cleaning
Deamonised the app and redirected std::cout to a file for logging