Moved impl details from wire to codegen

Information that isn’t connection related is moved to the codegen
script instead of being calculated in the wire script.