added device class
added device view
added device view