added entire CRUD for categories (with views)