Equations of Motion from a Lagrangian of a cosmological model with fading dark matter and interacting quintessence, implemented into CLASS