adding error support to router events
refactoring tycho to operate with new router