added the player object (h + cpp)