A Home Automation Gateway to provide remote control via azure cloud services