This is very much a work in progress.
Also renamed as many references to OS X as possible to macOS in documentation.