Add ImageUrl Class and reference count for external texture