How a 574-year-old school is preparing for a world without classrooms