Added Doxyfile and fixed doxygen warnings.