added database configuration to source files