adds code from the msft iot hackathon