Add page routing capabilities supporting both hash and clean url routing.
Improve sample for page routing.