From Observations to Self-Consistent Modelling of the ISM in Galaxies