Make code comments Doxygen friendly (Fixes #28)

Bonus: Documented XML writer to match LCF writer