The study of the key elements of agency-school cooperation and their relationship to community education