Combined import, indexing, and db checking

single script to run for live and historical import
with automatic indexing on newly added docs, and database
checking on import completion