adding class diagram