Added connection support to the flow items. Not finished yet though.