accepts get requests, stores name, url into class