added class diagram for memento