Adding submission result page.
Refactored code to use protocols for hiding lazily created indexes.