Refactored data loading script support lib code into separate files
Added linalg gem