Simplify the code
Simplify the code

- don't pretend we are not full of side effects. We are. Especially
  here.
- refactor add-to-db. Let the outside define whether we are archiving
  the master or a bunch of isos
- split the copying

sbsdev/mdr2