Create controller and index method
Define route, controller and created a view for index
Fix failing test by adding index method.