Extract template functionality for knife commands into reusable module
Refactor validate command for backend updates