add initial version of createEvent
Merge branch 'master' of https://github.com/matforest/tesseract