add examples, fix switch to new QM, fix CFF