Changed the app to use Postgres