adds a controller and view for lists