HashMap<WorkerId, StartupConfiguration> workers = new HashMap<WorkerId, StartupConfiguration>();
workers.put(Utils.createWorkerId("worker1"), conf);
workers.put(Utils.createWorkerId("worker2"), conf);
InetSocketAddress masterAddress = new InetSocketAddress(9999);
ComputableMaster<UpdateableInt> computableMaster = new CompoundAdditionMaster();
ApplicationMasterService<UpdateableInt> masterService = new ApplicationMasterService<UpdateableInt>(
masterAddress, workers, computableMaster, UpdateableInt.class);
ExecutorService pool = Executors.newSingleThreadExecutor();
Future<Integer> master = pool.submit(masterService);