Renamed dbhelper object to adapter