rewrite of the complete web server, seperated in processors and controllers (for web requests and JSON api requests)