public static void main(String args[]) {
        try {
          // Make iiop URL
          Main.providerUrl = Main.providerUrl + args[0];

          // create initial context
          Properties props = new Properties();
          props.put(Main.FACTORY, Main.FACTORY_NAME);
          props.put(Main.PROVIDER, Main.providerUrl);
          InitialContext ic = new InitialContext(props);

          // Obtain a reference to the Servant Object
          ModuleSearchServer server = (ModuleSearchServer) PortableRemoteObject.narrow(ic.lookup("ModuleSearchServer"), ModuleSearchServer.class);
          getUserChoice(server);
        }

        catch (Exception e) {
            e.printStackTrace();
        }
  }