public static void main(String[] args) {
        Message m = new Message("Test Message", "");
        m.addDestinationAddress("918888324979");
        m.addDestinationAddress("919405964956");

        API api = new API("3478866", "GreatDharmatma", "VPQOUUULMHdHJd");

        try {
            api.enableSessionMode();
            if (api.authenticate()) {
                List<MessageResponse> lmr = api.sendMessage(m);
                for (MessageResponse mr : lmr) {
                    System.out.println("apimsgid: " + mr.getApiMsgID() + "number: " + mr.getNumber());
                }

                List<MessageStatus> lms = api.queryMessage(lmr);
                for (MessageStatus ms : lms) {
                    System.out.println("status code: " + ms.getStatusCode() + "status description: " + ms.getStatusDescription());
                }
            }
        } catch (Exception e) {
            System.out.println(e.getMessage());
        }
    }