Class diagram for the library