Added RequestHandler class to handle incoming JSON