Use constant for events
Merge pull request #25 from obiba/constants

Use constant for events