One of the main purposes of this paper is to understand the geometry of the moduli and the Teichmller spaces of Riemann surfaces. The most interesting results we have in this paper are the detailed understanding of two new complete Khler metrics with nice properties and the KhlerEinstein metric on the Teichmller and the moduli spaces of Riemann surfaces. The two new metrics, the Ricci metric and the perturbed Ricci metric, are naturally defined as the negative Ricci curvature of the WeilPetersson metric and a combination of it with the WeilPetersson metric. We prove that these new metrics and the KhlerEinstein metric on the Teichmller and moduli spaces all have Poincar type boundary behavior, and further, in [7], we prove that they all have bounded geometry. Note that the KhlerEinstein metric is the key link between the differential geometric and algebraic geometric aspects of these spaces