Added hdf5 data format and photon data struct