Add MPI support

… continuing integration started in #20.