Factory Pattern Sample Added.

Factory Pattern Sample Added v1.0