Refractor cmd place

Move command pattern package to model package for more sense