try {
System.out.println("Setting up domain");
SCANodeFactory nodeFactory = SCANodeFactory.newInstance();
nodeC = nodeFactory.createSCANode(new File("src/main/resources/nodeC/Calculator.composite").toURL().toString(),
new SCAContribution("NodeC",
new File("src/main/resources/nodeC").toURL().toString()));
nodeB = nodeFactory.createSCANode(new File("src/main/resources/nodeB/Calculator.composite").toURL().toString(),
new SCAContribution("NodeB",
new File("src/main/resources/nodeB").toURL().toString()));
nodeA = nodeFactory.createSCANode(new File("src/main/resources/nodeA/Calculator.composite").toURL().toString(),
new SCAContribution("NodeA",
new File("src/main/resources/nodeA").toURL().toString()));
nodeC.start();
nodeB.start();