updated core.triggerEvent, cache, router modules