Added ability to emit custom events.
Events emitted for 'set' and 'delete'

For #11