BlackAdderClient client = BlackAdderClient.getInstance();
ScopeID rootScope = new ScopeID();
ByteIdentifier rootScopeId = new ByteIdentifier((byte)0, 8);
rootScope.addSegment(rootScopeId);
client.publishRootScope(rootScopeId, Strategy.NODE, null);
ByteIdentifier rid = new ByteIdentifier((byte)1, 8);
ItemName name = new ItemName(rootScope, rid);
System.out.println("Publishing");