Make the event names configurable
Update README.md with a code usage example