replaced Pipe with Connection. Made all ports bidirectional.