started implementation of stream redirection and piping