updated readme to use the factory