Fix merge conflicts.
Split dem' code into seperate nodes for individual execution as individual servers. Have not add in flags to synchronise operations.
Add dem' files.