Added various pages for the web front end; formWidgets can now be initialised by JSONObjects;