Refactor service and dao
Merge remote-tracking branch 'origin/master'