1. Multiconfiguration Dirac-Hartree-Fock calculations with spectroscopic accuracy: applications to astrophysics