removing cout logging and moving config.h only if db connection is included
Merge pull request #1 from stefankutko/master

removing cout logging and moving config.h only if db connection