Isolating the resource router from the core framework