enabled callbacks for events from options object
added onDelete callback
added the ability for custom events