Write the rule of four for AI and update doxygen