started creation of filtering by categories functionality