change codeCtx.go to new management
change FmtCtx@format.go to new memory managerment
change imgutils.go to new memory management
change some file to new memory management