moved database.yml file to config