Added a small optimization for restart on loading files in to KV-store
Refactored the fetching functions. Used geo_type and geo_dict
for passing around parameters.  Also removed threaded fetching
that was commented out.  Large reduction in SLOC.