A basic wrapper class for preloading images using imagesLoaded