CSV format, Tableau support, multi-program functionality

Added lots of things, primarily to support CSV output, for use with
tableau and to get all the BSc programmes in one run.