add initial implementation of category fetching