db config moved to config file