breaks the different jpanels out of the main frame and into child classes