refactored DocsApp to require less markup, pages defined in one location