add pg gem and rename databases in database.yml