updated gui so each panel creation has it's own method