Convert the python part to a proper project
create a proper npm project
clean up in old examples
refactor out sending message to server
remove twisted dependency and simplify