moving DB config to the json file.