EventHandlerNode finished -todo: check constants
rearranged eventhandler and eventhandlernode classes