Changed things to use the sprite.
Removed the older loadImage function in favor of my new class.