public static void main(String args[]) {
		 //main Loop
		 do {
			 giveMain().startDialog();
			 //Loop through phases, after User is logged in, and system has started (possible to not have started if user enters "good bye" in login process)
			 while (giveMain().isRunning && giveMain().userLoggedIn) {
				 giveMain().phase.setPhaseResult(giveMain());
				 giveMain().phase = giveMain().phase.nextPhase(giveMain());
			 }
			 if (!giveMain().isUserLoggedIn()) {
				  giveMain().startDialog();
				 }
			 
		 }
		 while(true);
	  }