first working version with hdf import-export
added hdf import export