I want to understand the meaning of the main theorem of complex multiplication (of elliptic curves) as given in Silverman, Advanced Topics in the Arithmetic of Elliptic Curves, II.8, or Shimura, Introduction to the Arithmetic Theory of Automorphic Functions, 5.3.

I want to derive the theorems about the ray class fields and the Hilbert class fields of imaginary quadratic fields from this main theorem (as in Shimura, but not as in Silverman).

What I understand is: The main theorem gives an algebraic description of something analytic. But is there an easy understanding why all great theorems on CM elliptic curves follow from this main theorem?

Sorry for this vague question.