Added multi db support
Bugfixes
More detailed log message