Added some comments and general tidy of examples