Add setter and getter for image object