Factory改为单例