HV-783 Extracting logic dealing with class hierarchies into dedicated cl...

...ass ClassHierarchyHelper