Building data structures in sng.h
Parser uses new data structure