Building the request handling layer