Created a new class to offload the player stuff