The school districts and charter schools created in accordance with the laws of this state have the primary responsibility for implementing the state’s system of public education and ensuring student performance in accordance with this code.