Expose the factory class in the ioc