move cpanel db calls to model.
Cleanup DB in Media File and Install, with a slit change on site latest.