now resource class stores the query string of a url. closes #32