adds player class