corrected arity for inserts in dbQ, began retooling of main.py for new paradigm