Refactoring experiment code so that can reuse code for next set of throughput experiments.