gamecontroller class created