curator.create().creatingParentsIfNeeded().withACL(ZooDefs.Ids.OPEN_ACL_UNSAFE).forPath(path);
}
//Call the editor
ConsoleEditor editor = editorFactory.create("simple",getTerminal(), System.in, System.out);
editor.setTitle("Znode");
editor.setContentManager(new ZookeeperContentManager(curator));
editor.open(path);
editor.setOpenEnabled(false);
editor.start();
}