Add documentation and generator.

Finally got everything working with Dox and a custom template generator. All the code is there plus some styling to make it look like web site. Unfortunately the tags might need a bit of work as well as the template. Check out my changes and let me know your thoughts so far.