Refactor a new part with arguments for a network to run only a single of the two protocols.