remove dependency of browser router and add api for getting urls of route changes