Ripped out bi-directional references. Added methods to get sub types and
reworked method to generate leaf subtype tokens.
fixed interface to revised generate token method