Use configuration to choose between local and hadoop data loading modes

Before development implied local and production implied hadoop.  Now it's configurable, so can develop against a Hadoop cluster.

Improved organization of configuration as well.  Also added some additional logging and error handling.