Added some parsing for parameters.
Can now take in attributes/query/sorted
Can convert attributes and sorted to lists
query will have to have special parsing since
      the format is complex