Creating Smart Environments with Emerging Technologies