public static void main(String[] args) {
        if (args.length != 2) {
            System.out.println("Invalid parameters number");
            System.out.println("Usage:");
            System.out.println("ru.compscicenter.db.tolmachev.nosqldb.client.commandline.CommandLine connection_host connection_port");
            return;
        }

        String connectionHost = args[0];
        int connectionPort = Integer.parseInt(args[1]);

        CommandLine commandLine = new CommandLine(connectionHost, connectionPort);

        System.out.println("Connecting to database server...");
        System.out.println("Host: " + connectionHost);
        System.out.println("Port: " + connectionPort);

        if (!commandLine.establishConnection()) {
            System.out.println("Connection to database server failed");
            return;
        }
        System.out.println("Connection to database server established");

        commandLine.execute();
    }