Task #3895 Create device controller with CRUD methods and views