Basic implementation of image wrapper: constructor/destructor