public synchronized static void main(String[] args) {
		
		SetupClient setupClient = new SetupClient();

			try{
				QuizServer quizAccess = (QuizServer)Naming.lookup("//127.0.0.1:1099/Quiz");
				//quizList = quizAccess.getQuizList();
				
				System.out.println("Quiz, Player and Result data are now availabe to setup client");
				int clientChoice = setupClient.displayMenu();
				if(clientChoice==1){
					int newQuizIdNumber=setupClient.addNewQuiz(quizAccess);
					System.out.println(newQuizIdNumber);
				}else{
					if(clientChoice==2){
						String winnerDetails = setupClient.finaliseQuiz(quizAccess);
						System.out.println(winnerDetails);
						
					}else{
						if(clientChoice==3){
							System.out.println("Shutting down the Server....:");
							quizAccess.stopServer();
						}
					else{
						if(clientChoice==4){
						 boolean isPlayerAdded=setupClient.addNewPlayer(quizAccess)	;
						 if(isPlayerAdded){
							 System.out.println("New Player successfuly added"); 
						 }
						}
					}

				}
				}}catch (MalformedURLException | RemoteException
					| NotBoundException e){e.printStackTrace();}
			
	}//main