Added several really important functions to View: attachController and setGameState.