Demonstration of Command Pattern