Move cherrypy endpoint into cherrypy app, to remove URL inter-dependency.