Tidy up. Changed the basic handler from an HTTP handler to a REST handler.