0.1.6: rewrite based on EventEmitter

and more demos added.