added class and sequence diagrams