Create DevicCode

Note: this code is intended to be used with the Agent Code listed in this repository. The agent.send code references a specific function call in the Agent code named "motionDetected".