public static ServiceController<ModelController> addService(final ServiceTarget serviceTarget,
final HostControllerEnvironment environment,
final ControlledProcessState processState) {
final Map<String, ProxyController> hostProxies = new ConcurrentHashMap<String, ProxyController>();
final Map<String, ProxyController> serverProxies = new ConcurrentHashMap<String, ProxyController>();
final LocalHostControllerInfoImpl hostControllerInfo = new LocalHostControllerInfoImpl(processState);
final PrepareStepHandler prepareStepHandler = new PrepareStepHandler(hostControllerInfo, hostProxies, serverProxies);
DomainModelControllerService service = new DomainModelControllerService(environment, processState,
hostControllerInfo, new HostControllerConfigurationPersister(environment, hostControllerInfo),
hostProxies, serverProxies, prepareStepHandler);
return serviceTarget.addService(SERVICE_NAME, service)