reorganized hdf5 classes