Improves parameters settings
implements graph comm
Improves Comm enable/disable flag.
Code cleaning.