Removed debug statements
Handling closing events better
Creating WAMP sesssions now works on the js side
working on rpc calls
Added start of API files
Work on connecting server, not working yet