Adding controller and view