Remove old invoker code and refactor accordingly. (#2602)

- Refactoring the invoker for better encapsulation and separation of concerns in its packages.
- Removing Dispatcher.
- Remove unused properties from the deployment manifests.
- Add error handling for terminal failures
1 file changed