add dao service and rest controller