Created a class for the player pane