Adaptive Edge Systems For Smart Iot Applications