added controllers and view