add the cleanup script as a template. expand a bit on the backup class

Signed-off-by: Wolf Noble <loiosh@kiera.nat.wolfspaw.com>