created URL class with a get method that returns the query strings values