fixed example projects and cleaned up eventmanager