Overhaul KDC dependencies, move kdc::master into a new configs namespace