Made RequestHandler as class