moving schema dir out ot config and into db dir