add pointers to items, fix factories for pointers, change layout for items index and create search page