Refactored model command initialization