public static void main(String[] args) throws IOException{
		DriverTools intf = new DriverTools();
		
		List<String> sql = null;
		String action = args[0];
		String input_file = args[1];
		String model_file = args[2];
		String definition_file = null;
		String delimeter = null;
		try{
			definition_file = args[3];
			delimeter = args[4];
		}catch(ArrayIndexOutOfBoundsException e){
			
		}
		
		if(action.compareTo("simple") == 0){ //simple
			sql = intf.convertCSVtoSQL(input_file, 
					model_file,
					definition_file,
					delimeter);
			
		}else if(action.compareTo("matrix") == 0){ //matrix
			sql = intf.convertMatrixtoSql(input_file, 
					model_file,
					definition_file,
					delimeter);
		}else if(action.compareTo("diff") == 0){
			delimeter = args[2];
			sql = intf.findDifferences(input_file, delimeter);
		}else{
			System.err.println("Unknown action.");	
		}
		
		if(sql != null){
			for(String str : sql){
				System.out.println(str);
			}
		}
				
	}