Add routing.
Fix pushstate URLs.