Rewrote entire prototype, factoring the monolithic piece into several classes. Exchanging runs with the constraints on RUNIDs is in place. URI's despatch to states that take appropriate actions in the context of a participant. States will check and construct responses. What remains of the rewrite is initialising participants, putting useful checks on requests and cooking up decent responses.