Bugfixes, updated docstrings
Updated time module to be able to pull db data, bugfixes and debug output added in dbHandler
Minor bugfixes