Refactored data set loading into own module.