refactored db.yml to use &common