Added MainFrame2 class