Add event emitter, tests, and basic game class