Strategy pattern implemented in Command Class