REQUIRE MPI
remove duplicate mains
move client creation from main to serve