create player class