Dynamic and Interoperable Control of IoT Devices and Applications based on Calvin Framework