Mogenerator up a core data model