make cherrypy a module, simplify