Add a basic protocol doc; change several comments.
Merge pull request #3 from amyangfei/develop

Add a basic protocol doc; change several comments.