Generating class Diagram