Constructing request handler