added documentation (doxygen)