Modified db to use postgresql. Finished fixing tests for all models. Installed pscoog2