draft of class and sequence diagram