add some doxygen documentations and little corrections