adding controllers and index views