more work on serialization, decoupled hud from game world