views and controller for note