setup categories controller and index view