Understanding Schools as Intelligent Systems