Add license information to factory pattern