Split game logic/code into its own class