Theory of Bergman spaces (I)