review codes && fix some problems
Merge pull request #102 from bearcatnode/doc

review codes && fix some problems