refactored code to remove references to players from the client side (use monsteres instead)