Restructured event system.
Redesigned network code.
Basic network test.