refactor so I can do the second phase on my little computer
mutually arising SC/python codegen