SMS dit: Measurement of beauty and charm production in deep inelastic scattering at HERA and measurement of the beauty-quark mass