Classification of Riemann surfaces