Refactored code so that not all classes were jammed into SwitchFactory.
After hardware fails, cannot reaccess its routing table: any event
that does so will automatically be backed out.  Separate method must
remove the associated switch struct itself.