Encapsulate image loading in Bitmap class