private NameCompGen createCG(String parserConfPath, int parallelism) {
ParserMain pm = new ParserMain();
_map = pm.createConfig(parserConfPath);
_pq = ParserUtil.parseQuery(_map);
NameCompGenFactory factory = new NameCompGenFactory(_map, _pq.getTan(), parallelism);
return factory.create();
}