Return offerings, rather than modifying the course object
Move offering creation into the loading of courseCache
deepFreeze, from MDN
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/freeze
Freeze each course as it's inserted
then freeze courseCache