added ws code
added ws_handler
added notes
updated notes2