Factory, a static method in a class to provide an instance of this class