- Add a configure function to change some of the router's default behaviors
- fix typo