Separared the MainFrame into 2 panels