Draw UML diagram of classes and generate code