public static void main(String args[]){
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			System.out.println("MessagePasser Testing Interface\nPlease specify configuration file location:");		
			config_file = br.readLine();
			System.out.println("Please specify your name:");
			local_name = br.readLine();
			clockType = "vector";

			ourClock = new VectorClock();
			ourClock.setMyTime(new TimeStamp(local_name, 0));

			//Now that we have the config filename and local name, we can instantiate our MessagePasser
			MessagePasser MP = new MessagePasser(config_file, local_name);
			//Now to prompt the user for what to do
			while(true){
				try{
					System.out.println("Please input a number for your selection (1-4):\n"
							+ "1. Request Critical Section\n2. Release Critical Section\n3. Get Message Counts\n4. Exit");
					selection = Integer.parseInt(br.readLine());
					if(selection == 1){
						MP.requestCS();
					}else if(selection == 2){
						MP.releaseCS();						
					}else if(selection == 3){
						//System.out.println(MP.getMessageCount());
						System.out.println("Total Messages Sent: " + MP.getSentCount());
						System.out.println("Total Messages Received: " + MP.getRecievedCount());
					}
					else if(selection == 4){
						
						System.out.println("Thank you for sending messages with MessagePasser! Goodbye.");
						System.exit(1);
					}
					else{
						System.out.println("Sorry, that was not a valid command. Please try again\n");
					}
				}
				catch(NumberFormatException e){
					System.out.println("Sorry, you input an invalid command. Please start over.");
				}
			}
			
		} catch (IOException e) {
			// TODO Auto-generated catch block
			//e.printStackTrace();
			System.out.println("I don't understand your input. Please try again.");
		}
		
		//MessagePasser MP = new MessagePasser("//Users/Cody/Dropbox/DS/Lab0/config_file.yaml", "alice");
	}