Removed unused code
Refactor and test client connection
Add sinon and chai dependencies for testing
Browserify for webclient bundle