change notifier to use reliable chan
add comments for utils
add heartbeat/election timeout notify