Added Query protocol
Added query protocol and uppdated smartpark class to handle a range
selection. This is not tested as of yet but hopefully works.