refactored district_export and added some association scoping to district