Made changes to Raft consensus protocol and also started making changes
to support ElectionManager