Added category classes to each tile