You can learn something about the Whirlpool coordinator here https://github.com/Samourai-Wallet/Whirlpool/blob/whirlpool/THEORY.md