add a class func to set baseURL