Delete unused code
Modify realms function
Modify images function
Create instances actions