In reply to Tudor Timi:
You might also be able to use arrays of handles {exports / fifos} to make the hookup and usage of differing numbers of connection points more programmatic, and have a ‘size’ parameter (specified using parameterization or with an override) if you are using fixed size arrays, or a soft configuration value if dynamic arrays.