adding db config for postgres
editing gemfile
more gemfile tweakage