Added pagination to items, implemented counter cache, optimized some pages