test with backup promote to primary
update masterController to integrate PrimaryMaster, PrimaryListener and HeartbeatServer