Feature/mfr pdf

Working but not ready for merge.