Code cleanup: consolidate global variables and promote code re-use between the server classes.
Add config option to push readings to various "The Internet of Things" services.