Added initial page routing functionality.