initial version of motion sensor to cloud