Added doxygen documentation

Small cleanup in some function definitions

Signed-off-by: Samuel Stirtzel <s.stirtzel@googlemail.com>