The algebra of conformal blocks