public static void initParser(String[] args) throws IllegalArgumentException{
		_CSPort = CS.DEFAULT_PORT;
		_CSName = "localhost";
		if(args.length != 0){
			if(args.length == 2){
				if(args[0].equals("-n")){
					_CSName = args[1];
				}
				else if(args[0].equals("-p")){
					_CSPort = Integer.parseInt(args[1]);
				}
				else{
					throw new IllegalArgumentException("Wrong input args");
				}
			}
			else if(args.length == 4){
				if(args[0].equals("-n") && args[2].equals("-p")){
					_CSName = args[1];
					_CSPort = Integer.parseInt(args[3]);
				}
				else{
					throw new IllegalArgumentException("Wrong input args");
				}
			}
			else{
				throw new IllegalArgumentException("Wrong input args");
			}
		}
	}