preparing database.yml