added doxygen and fixed up some doxygen headers