best version yet

everything works, tables and mainPanel will be added soon