added event matching
Merge pull request #27 from sbrother/13-add-event-processing

added event matching
Merge pull request #28 from sbrother/master_candidate

Master candidate