Add "player" class for encapsulation