Change print statement to logging.warn and collapse error handling
'Hide' top-level module members and address minor concerns
Don't automatically dump db to disk