Split page routing into separate files. Closes #26.