Added Hierarchy factory to actually build the Hierarchy