Added Documentation.

Documentation is now addded to the theme. Its compiled and added. It
should all work properly.

Slight changes made to the code base to iron out some bugs.