Add postgres gem and modified database.yml