Breaking up the main method in FlowboxTopology so that it can be easier to plug in different examples