I am getting quite confused about the distinction between algebra homomorphisms and $A$-module homomorphisms, where $A$ is an algebra. If $A=\mathbb CG$, the group algebra, then I have a result in my representation theory course which says that:
If $G$ is abelian, then all irreducible $\mathbb C G$-modules are 1-dimensional.
The proof is that there are $n=|G|$ conjugacy classes, so $n$ irreducible modules and since $\mathbb C G \cong \bigoplus_i S_i^{\oplus \dim(S_i)} $ as $\mathbb CG$-modules ($\mathbb CG$ the regular $\mathbb CG$-module) with the $S_i$ irreducible, a dimension count says that all the $S_i$ are 1-dimensional.
Then, later, we prove that:
If $G$ is abelian, then $\mathbb CG\cong\mathbb C^{\oplus n}$ as algebras
The proof of this is a corollary of the fact that any semi-simple algebra is isomorphic to a direct sum of matrix algebras over $\mathbb C$.
These results seem very similar, since a corollary to the first result says that $\mathbb CG\cong\bigoplus_i S_i$ as $\mathbb CG$-modules and then each $S_i$ is isomophic to $\mathbb C$ as a vector space. I'm wondering:
Does one of these results prove the other, or are isomorphisms of $\mathbb CG$ modules and of algebras are just completely separate things and should be treated as such.