The instructions are the same as those for adding a new processor (3.7.1) except the files of interest are aligner_template.h and aligner_template.cpp.
Also, when adding to the core, aligner.h and aligner.cpp should be altered.