refactored intermediary nodes to use a common parent class
refactored intermediary nodes to use a common parent class

they use AlphaNode if there is only one possible sender, and BetaNode, if there is a primary and a secondary path for the data
this change is needed for the termination protocol where all intermediary nodes must do the same thing when receiving the termination message

FTSRG/ire