new controller magic. db.js doesn't need singleton