moving db config into separate .config