sets up notes model, controller, and view the Rails way