Edited the image class to load bitmap images properly