The dynamics of accessory proteins in DNA replication and DNA repair