Created a class to initialize requests