Logging

Logging cleanup
removed the class object in the log output
and added logging to handing out database connection