Made it compile on the Pi.
Now allow user to configure a read and write pipe.