Added example directory.
API change.

Tag events don't really need the node name parameter  so we only pass the attributes.
Fixed example after API change.