class and use case diagrams