Pull base mediator into template

Pull the base mediator into the template instead of having it generated from the Pliny gem. Main motivation is that this is more consistent with what we have for our endpoint base, and it allows us to simplify our loading logic a bit.

What does everyone think?

/cc @pedro