WIP: Preparing categories

#134
var setCache = function(data) {