Updated device class with getters and setters. Also updated Router class to genreate a list of connected devices.