ArrayList<String> parseCommandParameters(String command) {
		ArrayList<String> params = new ArrayList<String>();

		String cmd = command;
		cmd = cmd.trim();
		cmd = cmd.replace(',', ' ');
		cmd = cmd.replace(';', ' ');

		int lastSpace = 0;
		for (int i = 0; i < cmd.length(); i++) {
			if (cmd.charAt(i) == ' ' || i + 1 == cmd.length()) {
				params.add(cmd.substring(lastSpace, i + 1).trim());
				lastSpace = i;
			}
		}

		if (params.isEmpty() == false) {

			// Remove command name
			params.remove(0);

			// Remove empty arguments
			Iterator<String> it = params.iterator();
			String param;
			while (it.hasNext()) {
				param = it.next();
				if (param.compareTo("") == 0) {
					it.remove();
				}
			}
		}

		return params;
	}