Sample integration of Mogenerator and MagicalRecord