added categories.  api for categories similar to listitem