adjusted architecture section
added rete section and diagrams