optimizing database.yml