snapshot: adding code to send images and sensor data to remote server. Still needs to be hooked into main program