Introduced screen states and a winning condition. Added gameController.