move dbhelper from util to model to reduce coupling