Break out loading of images into separate file.