Create dao and helper of database