Major (PatternLibrary) : added pattern Factory