Added a bunch of game infrastructure.