Simple flow library based on pipes