added sequence diagrams
added state diagram