New class for the player's input