Adding code design diagram as docs.