=str #15755 #15756 First stab at input/output factories

* New naming based on Source and Sink

Some parts of this convoluted/wrong. Take a look and we can discuss.
we need to nail this variance thing; I’m tempted to just try and work on the basis of this branch to see where it goes