update doc, add architecture diagram