Add group prefixes to players in chat
Refactoring