added gem pg to gemfile
configured database.yml file