move db connection to config