updated gemfile to use postgresql exclusively along with other changes