Added Doxygen-based code documentation

This should help us understand our code a little better.