Restructuring the example to accept parameters from command line.
The example also removes the noise from the flist module since statuses are all we are interested in.
Made modifications to the Websocket class, it is doing more than it should and will be fixed soon.