Updated the db connect error check in the main-flow
Moved the logmethod test-definition to the test_config file. The mainfile now defines an empty method if the config does not define it.
Added documentation to all classes etc.
All usages of SqlQuery now use chaining all the way.