update doc and diagram
Merge pull request #20 from matelakat/update-docs

update doc and diagram