// Getting the config path
final File configFile = Configuration.CONFIGURATION_CONFIG_FILE;
// Creating the Configuration
final Configuration config = Configuration.create(Configuration.CONFIGURATION_SCHEMA_FILE, configFile, "");
// Starting the Target
final TargetServer target = new TargetServer(config);
// Getting an Executor
ExecutorService threadPool = Executors.newSingleThreadExecutor();
// Starting the target
threadPool.submit(target);