Moved models to their own files
Added test SockJS server
Updated handling of tokens
Improved SockJS handling on the client side