Fix: Capture code for syntax error

- Added Tags option to event and alert
- refactoring
Merge branch 'master' of github.com:jiren/rnotifier