Hi Dragonfly,
a mediator is someone you goto when the divorce will be a smooth one. You and your-soon-to-be-ex (STBX) have agreed to dissolve the marriage without conflict. These mediated discussions will ideally lead to "binding arbitration", where each party has to follow the decisions that are made. This will be much cheaper than lawyers and court costs.
I hope this helps!
Rich