Update the router pattern options.
Move test.js inside a test folder.
Add documentation.