added add_event and settings
Merge pull request #4 from rmcdole/master

added add_event and settings