Extracted db config to external file