creating Dao and entity.