Added pg to gemfile, and other updates