Simulator code clean up: Introduced RequestContext class as a container
to encapsulate each request data and process the request within its
context.