add dbhelper class and corresponding entity classes