code cleanup, refactor command line processing.
updated demo
update docs
Merge branch 'master' of github.com:rsdoiel/ws into gh-pages