Command Pattern Vs State Pattern In Design