Added the framework for the image class.