Added a Hierarchy class that can visualize the inner hierarchy of an entity.