created player class