Move database configuration to seperate configuration file.