organized docs and added UML statechart and sequence diagrams