modifies api endpoints to organize catalogue through categories