Move config into external JSON file.
Add version number to output.