add model structure from class-diagram