Setup app to use postgres