I agree that this could be better commented.
   if (script.indexOf("/") !== -1) {
is called when the script has no path in front, in that case the file should be found in manifest.json. There are currently no classes in lib/ that are used like that.
odf.CommandLineTools is there but never gets called like that.