An Extensible Ubiquitous Architecture for Networked Devices in Smart Living Environments