added controller and views