Made some slight changes with GameController.
Modified index