Factory Pattern

Factory Pattern