Added external payload support for reporting and refactored main experiment running logic.