Merge pull request #1 from heartuo/master

deleted unnecessary code and files
Add class Entity
Merge pull request #2 from lisu60/master

Let's merge!