Refactoring Player_manager