Create design.md
Update design.md
Update design.md
improving things like loops and scoping and the underparts
put call into right sequence
merge