changes for > 2 control nodes.Control nodes will now be calculated from discovery instead from testbed.py