added categories to pins (model and view)