Add State Pattern Sample