Adding Topdoc output.

Refactoring to use topdoc as the test page generator. Will make it much easier to work on all the variations of components moving forward.

Opening pull request for discussion.