fixed #12
Merge pull request #13 from UFOMelkor/hotfix/12

assigning variable directly
fixed #11
Merge pull request #14 from UFOMelkor/hotfix/11

configurable event type
Merge upstream/master into feature/documentation
Feature docs