Added the image class and the ability to set the size of loaded images