Let $C$ be a smooth projective curve over a field $k$ and $S \subset C$ a finite number of points. A modulus is simply a divisor supported on $S$. What is the divisor class group with modulus?
I have seen the definition $$ \mathrm{coker}(k(C)^\times \to \bigoplus_{x \in X-S} \mathbb{Z} \oplus \bigoplus_{x \in S} k(C)^\times / 1+\mathfrak{m}_x) $$ but it does not speak to me... What is the meaning of this group, the intuition behind the definition? How is it related to class field theory?