Alljoyn Lambda: An Architecture For The Management Of Smart Environments In Iot