Update installation module to use JSON settings

That was easier than I thought (one line change), so I sorted some of the imports and fixed minor things while I was at it. :smiley: