added GameController.js file