created a PlayerLoader class and implemented the method addPlayer.