Initial skeleton of switch/flow/apply
Apply complete ... now need to debug
Fixed insturction summary issue
Resolved switch-flow-apply integration