Intelligent Control at the Edge