public static void startShell() {
		Listener listen = new Listener();
		System.out.print(" >>");
		Scanner in = new Scanner(System.in);
		String line = null;
		String response = null;
		Client client = null;

		while ((line = in.nextLine()).length() > 0) {
			try{
			client = null; // for garbage collection if previous have been
							// allocated

			if ("quit".equalsIgnoreCase(line)) {
				break;
			}

			String[] params = line.split(" ");

			if (INFO.equalsIgnoreCase(line)) {
				response = info();
			} else if (line.startsWith(SENDTO)) {
				response = sendTo(params);
			} else if (line.startsWith(SEND)) {
				response = send(params);
			} else if (line.startsWith(CONNECT)) {
				response = connect(params);

			} else if (line.startsWith(DISCONNECT)) {
				response = disconnect(params);
			} else if (SHOW.equalsIgnoreCase(line)) {
				response = show();
			} else {
				response = listen.doWork(line);
			}

			System.out.println("" + response);

			// take in next input
			System.out.print(" >>");
			in = new Scanner(System.in);
			}catch(Exception ex){
				System.out.println("Some Exception!!");
			}
		}
		
		System.exit(1);
	}