private static String[][] parseCSV(String text) {
		Logger.log("Starting parsing on text:\n" + text);

		String[] lines = text.split("\n");
		ArrayList<String[]> array = new ArrayList<>();
		for (String line : lines) {
			array.add(line.split(","));
		}
		String[][] out = new String[array.size()][array.get(0).length];
		for (int i = 0; i < out.length; i++) {
			out[i] = array.get(i);
		}
		return out;
	}