new table classes
merged MainPage.java the old-fashioned way