An MPI-based C++ library for easy distributed pipeline processing