Moved database settings to separate file.