Update doxygen comments, add ec_add header (wip), add utilities.