added controllers and views