added controllers and index views