refactored tree structure, alternate tree structure hdf loader