Added some of the elements of the MFM. Sorters are halfway working.