add events and pubsub example
Merge remote-tracking branch 'upstream/master'
Merge pull request #7 from wactbprot/master

add events and pubsub example