Added the GameManager and tests.