prepare model, controller for categories