class diagram for data management