fix code and note format
remove chinese code comment
add O2 for gcc and fix uninitialized warnning at ts modules
Merge pull request #3 from kongjian/master

代码格式和注释，以及编译优化参数