migrating from sqlite3 to postgresql
fix heroku errors for undefined methods
adding in integration tests and unit tests for resources and search