Refactoring and cleanups to orchestration scripts

Please read the docs to understand the design intent.
that was my comment that not relevant any more now..