Fix to work with latest websocket library, major cleanup of code-base
Added documentation to important methods
Updated README.md
Merge branch 'develop'