Begun documentation.

Fixes #7 with the choice of doxygen and the javadoc style.