Added factory pattern image