updates in Ballot pair class
update replica to read replica ID from configuration file