add basic dao and service