added feature: now one can set a pointer to a data array which will be sent on SendEvent()
removed old files