Analytics and action server for SmartAmerica smart cities project, codename: SCALE