Further refactoring. Isolating various game / client / networking stuff.