Implemented the first web controller.
Replaced flask with cherrypy.