public static void main(String[] args) {
		int serverNumber = 0;
		// Get new server number from command line
		if (args.length == 1) {
			try {
				serverNumber = Integer.parseInt(args[0]);
			}
			catch (Exception e) {
				System.err.println("Error parsing argument. Please use valid integers.");
				System.err.println("Usage: java CloudServer <Server Number>\n");
				System.exit(-1);
			}
	    }
		else if (args.length == 2) {
			try {
				serverNumber = Integer.parseInt(args[0]);
				if (args[1].equalsIgnoreCase("V")) {
					verbose = true;
				}
			}
			catch (Exception e) {
				System.err.println("Error parsing argument. Please use valid arguments.");
				System.err.println("Usage: java CloudServer <Server Number> <V|v>\n");
				System.exit(-1);
			}
	    }
		
		// Load server information from configuration file
		serverList = loadConfig("serverConfig.txt");
		if (serverList == null) {
			System.err.println("Error loading configuration file. Exiting.");
			System.exit(-1);
		}
		else {
			System.out.println("Configuration file loaded.");
		}
		
		// Load the parameters for this simulation
		if (loadParameters("parameters.txt")) {
			System.out.println("Parameters file read successfully.");
		}
		else {
			System.err.println("Error loading parameters file. Exiting.");
			System.exit(-1);
		}

		CloudServer server = new CloudServer(serverNumber);
		// Set the currect policy on this server from the Policy Server
		server.setPolicy(server.callPolicyServer());
		if (server.serverPolicyVersion == 0) {
			System.out.println("Error retrieving Policy Version from Policy Server");
			System.exit(-1);
		}

		System.out.println("Server " + serverNumber + " is ready.");
		// Start listening for client connections
		server.start();
	}