Created tree hierarchy for HTM