Websocket API design
Changed from native sailsjs API to custom API