update readme, review codes
Merge pull request #18 from bearcatnode/doc

update readme, review codes