Implemented addInports Correct scoping to avoid ambiiguity with portscreated by addInput ports. Added better logging (still primitivethough...)