added database.yml config file.