82175900 switch to postgresql

not ready for merge yet.  still need to fix all the imports