Removed HDF5 specific tree and added factory class