Updated the factory, just updating the example at README