add full support for mysql use

table for event is created on program start, table names can now be added and edited in mysql events table