Unstable commit of DB Logging

Commit to share Source Code. Causes Exceptions.
Bugs in Logging and towers fixed