WIP: event dispatcher refactoring
add slf4j for logging, small refactorings