Made root object, as well as object heirachy for object types