statistics with useful things in main method
set up tables and updated mysqlconnect
slight changes to connect and set up tables
deleted stats