Collect the base URL into a variable for downloads

This makes it simpler to change the URL when necessary, removed
repeated strings from the file now most are hosted.

Change-Id: I7ef61fd3054e63ce2b0e4c72d00dcafd7de8cfa1