may split Dao into DaoArray and DaoEntity, maybe to separate handling of array data and entity object.
DaoArray and DaoEntity classes for accessing db and returning array data or entity object, respectively.