adding CEP input streams and output streams programatically