Added node example and tidied up everything else