public static void main(String[] args) throws IOException {

		String uinput = "";
		while(!uinput.equals("exit") && !uinput.equals("quit")) {
			//System.out.println("Command?");

			System.out.print(">");
			uinput = in.readLine().toLowerCase();

			//Search case
			//Need to add search argument so user can put like, "search THISTHING"
			//instead of "search -> THISTHING."
			if (inArray(uinput,comsearch)) {
				CLISearch.searchOption(defaultFormulas);
			}


			//Add case
			//Tester functionality to see if we can add and save formulas to .ntb.
			if (inArray(uinput,comadd)) {
				Formula newFormula = CLIAdd.addFormula();
				newFormula.printFormula();
				((FormulaDatabase) defaultFormulas).addFormula(newFormula);
				Saver.saveForms(defaultFormulas);
			}

			//Print case
			//Doesn't do anything right now!
			//Need to implement functionality:
			// Should print search results.
			// Should be able to print specific categories. Tags?
			// Invisible tags for categorization?
			if (inArray(uinput,comprint)) {
				//STUB
				break;
			}

			//Print all case
			//Prints everything in the .ntb file loaded.
			if (inArray(uinput,comprintall)) {
				CLIPrint.printAll();
			}

			//Quit case
			//Terminates program.
			if (inArray(uinput,comquit)) {
				break;
			}

			//Help case
			//Basically prints the static com--- fields.
			if (inArray(uinput,comhelp)) {
				CLIHelp.help();
			}
		
		}

	}