Moved database settings to config file