Moved database settings into local config