Moved method from service to statistics class
Fixed bug
Moved some method from service to entity
Merge pull request #23 from linzongshu/master

Changed the class structure of some module API