Algebraic Geometry and Integrable systems related to String theory