Mpi global config

Introduce a global MPI configuration object.