Add MainPanel, refactored Application and SimulationPanel