A complete rewrite of mmcfe