Refactored utilities for cleaner code
Refactored utilities (hasEvents)
Added event input validation
Merge pull request #15 from awwest/dev

Dev