Home stretch, need to move geneation back to aptServer in a go routine
All code now building, need to work out where to call regenerate from