Breaking up ModelRepository, renaming domain command to model