Setting up player class