Dao and service for activity tracker