Started modifications for single machine parallel version.

This version does not work yet. Much work is to be done !!