change communication concept

open an write only pipe to messaged process and
read input only from in-fifo
print own messages to out file