added an option to pass in an event object at initialization of the event instance, added related example, and wrote better readme