split db schema map/defs out