Updated main with a documentation by eclipse