Add configuration support.

You can configure multiple masters if you choose.