Added WPlayer class for player tracking