added hdf5 backend to the dumpdb function. And prepared the implementation of loaddb