move db out of config folder