change database.yml for postgres. Add pg to gemfile and remove sqlite3