changes directory structure for database.yml