Reworked some of the logic. Changed constructor signature for Token class. Removed need for TokenTree class. Added UML diagram for inheritance and attribute clarity.