added resize, restore_image, and rebuild
added methods for domains and domain records