removed unused code in router
added a basic localStorage key extractor