Source code for a Spark Core to read from a weigh scale and optionally upload the result to the cloud.