IOT BUILDING AUTOMATION & ENERGY MANAGEMENT: A SYNERGISTIC APPROACH