add controller and view

add controller and view