added category controller and model