added explizit main
improved doxygen comments
Added explicit main