Design document and factoring out gameplay.