Added image deconstructor and copy constructor