removed db config from main config file