Added wsgi server, based on cherrypy. Also some restructuring to make this webserver easier.