Updated the README for the factory pattern