more on codegen in design
move some codegen to imp and fix gradfather :)))
subsubsections in design of kite, and fix le bug