public static void main(String args[]) {
        try {
          String serverURL = "rmi://" + args[0] + "/ModuleSearchServer";
            ModuleSearchServer server = (ModuleSearchServer) Naming.lookup(serverURL);
            getUserChoice(server);
        } catch (Exception e) {
            e.printStackTrace();
        }
  }