james | small refactoring of deployment orchestrator