Parameterize flatfile and master file paths
Refactor DB table and function names
Delete stale enrollments by term