functioning mysql table file output
remove all DB code from main gnacs.py