Moved parse_query to QuerySyntax.py