Separate main functionality from the ServiceWorker into a library
...so that it can be used outside of ServiceWorker too (for example, as a demonstrator: "click here to fetch stuff via GUN+IPFS")
...so that it can be used outside of ServiceWorker too (for example, as a demonstrator: "click here to fetch stuff via GUN+IPFS")