Move db info to config file