added dao, service methods.