Added routing mechanism.

Added an example on routing between pages.