Change the query parser's api to be just a function since it doesn't need to be a class