added devices with MVC pattern