Major refactoring of the Flow module structure.

The structure is made into one NorthBound and one SouthBound part.