Completed bug fixing and now the createtion of derivation tree works. Also did some source tree cleanup and deleted superlouous items.
Completed update of code for Membrane Communication and main function now executes without error