Source code for the AFI Training Institute