created new CLIRunner class so that i can test game loop