Move topic_tools to its own app; tweak all imports to support this.
Move cherrypy endpoint into cherrypy app, to remove URL inter-dependency.