Built hierarchical model structurer
Removed unused Triple<> class