public static void main(String[] args) {
		
		if(args.length == 0) {
			showHelp();
			System.exit(0);
		} else{
			try{
				int next = 2;
				if(args[1].equals("-meta")){
					meta = true;
					next+=1;
					if(args[2].equals("-addFeatures")){
						addFeatures = true;
						inputFile = args[3];
						medList = BuildMedList();
						next+=1;
					}
					else inputFile = args[2];
				}
				else if(args[1].equals("-addFeatures")) {
					next+=1;
					addFeatures = true;
					medList = BuildMedList();
					if(args[2].equals("-meta")){
						next+=1;
						meta = true;
						inputFile = args[3];
					}
					else inputFile = args[2];
				}
				else inputFile = args[1];
				
				if(args[0].equals("-test")){
					outputPath = args[next];
					test();
				}
				else if(args[0].equals("-l1")){
					outputTestFilesFolder = args[next];
					outputTrainningFilesFolder = args[next+1];
					leaveOneOut();
				}
				else if(args[0].equals("-train")){
					outputPath = args[next];
					train();
				}
				else{
					showHelp();
					System.exit(0);
				}
				
				System.out.println("done!!");
			}catch (Exception e) {
					showHelp();
					e.printStackTrace();
				}
		}
		}