updated to only send datapoints every 1 second
added remote/local output option
stylistic changes