added cd controller and views