Demand-driven education with interactive learning environments