Add mogeneator for core data