changed Method to String, created an abstract class Method to list the HTTP methods