Removed mpi dependency from main