chat manager begun. refactoring the player class