adds instaparse for query string
updates query parser to be more robust and handle ranges