Fundamental concepts, representations of Virasoro and affine algebras