The Lego Intelligence Gateway in Cloud