Db settings passed through module
Fixed database parameter passing
Fixed database parameter passing
Removed two log files