moved database settings to "database.yml" file.