Updated more of the documentation and added a check that query url is set
changed the valid method and the sub authority list to class methods