modified index, added category page (tutorial, part 6)