added documentation in header
added doxygen