High-tech brings its smarts to buildings