skeleton for exposing functionality through socket.io
www example