added docs for config.json, also a couple of small changes