move db url into config