The development and application of the Explanatory Model of School Dysfunctions