modify the readme file of the factory pattern