add entities, dao