created controller and views for categories