Separated MPIHook.c into separate files and updated Makefile accordingly