Moved routines to base; connect schools to enrollments rather than students.