Added HDF5 stuff to lib