The `RandomFlowFactory` class needs to be updated to the use FP/Cats and potentially extended with additional parameters.