Add queryparser to environment