Added functionality to create a device list for the router class.