Create a class to handle the request