add a module for mpi code

close #238