add dotenv and review database.yml for pg