added controller, and views