public static void main(String[] args){
		initParser(args);
		System.out.println("Started");
		try {
			_input = new BufferedReader(new InputStreamReader(System.in));
			while(emitter(_input.readLine())){}
		} catch (IllegalArgumentException e) {
			System.err.println(Errors.INVALID_COMMAND);
			System.exit(-1);
		} catch (UnknownHostException e) {
			System.err.println(Errors.UNKNOWN_HOST);
			System.exit(-1);
		} catch (SocketException e) {
			System.err.println(Errors.SOCKET_PROBLEM);
			System.exit(-1);
		}catch (IOException e) {
			System.err.println(Errors.IO_PROBLEM);
			System.exit(-1);
		}
	}