This commit implements main function and doxygen comment generation