remove all hard-coded references to cipher set 2a.
Refactor node classes into an inheritance tree.