add connect and disconnect. Remove addinArrayPort
adapt editor to this new change
Merge pull request #46 from dmichiels/connect

Connect and disconnect