Changed Data func to return a APIImages pointer and removed Len func