We have repeated code snippets (largely static methods) that ensures presence of azd project file, loading of environment, and loading of the project. We should move this into injectable dependencies to be easily reused for new commands, and simplifies maintenance.
