created  separate  .m .h files for the game controller