Merge webcam functions on Pi and prep for combining code