Splits up some Database methods into Posgres and Shapefile.