Added a class to handle the players details