cod system rebuild

rewrite analyse
build SCode