Moving modules db.table.* to model.*