Created device controller and views