proposal for new server structure, all requests would be classes implementing the work() method, these stored in a file with the request name. these requests could call ::addBody() and ::addHeader() to add fields to the response, or call ::error() in case of error