Separate out sample loaders
Extract sample generation