refactor server-side player registry