generalised parser, added contact graph, global symbol table deprecated