Added AFD model, metrics, and algorithm classes