Refactoring the code in both classes playerController.php and GamaDataController.php
Refactoring comments