Setting thumb photo for each item.
Adding new data structure.