Close #9
fuck coding style and thread-safety
Merge branch 'master' of github.com:flxw/bs1