Add election framework to master; publish services.

Needs tests still.
line not needed.