refactor example; doc
use HashStore for critical event alerter
doc