add reset action, delete mainFrame main method