EventX done

first version of the event system done.
Very stupid and straightforward, but should
get things done. Needs to be more tested
for memory leaks.