v3.0; added doxygen documentation to some files