Add documentation.
Add Doxygen documentation.
Update reference manual.