code: function setupOriginJS(config){
    const web3Provider = new Web3.providers.HttpProvider(config.web3Url)
    // global
    web3 = new Web3(web3Provider)
    console.log(`Web3 URL: ${config.web3Url}`)
  
    const ipfsUrl = urllib.parse(config.ipfsUrl)
    // global
    o = new Origin({
      ipfsDomain: ipfsUrl.hostname,
      ipfsGatewayProtocol: ipfsUrl.protocol.replace(':',''),
      ipfsGatewayPort: ipfsUrl.port,
      web3
    })
    console.log(`IPFS URL: ${config.ipfsUrl}`)
  }
docs: ------------------------------- Section 2: The following engine -------------------------------