Implemented template method patternnnnnnnnnnnnnwwwwwwwwwwwwww
Command now class.