Switch to postgres

switching to postgres in preparation for deployment.