### Subject of the issue Replace this folder with a library, so that the library can be used in other tools and so its API can be documented correctly. Part of v6 work.