Added Coordinator classes, startup code, register replica functionality