Terms of Reference and legal framework for Archives