public static ChannelService createNewChannelManager(String id) {
		FactoryCreator creator = FactoryCreator.createFactory(null);
		Map<String, Object> map = new HashMap<String, Object>();
		map.put(FactoryCreator.KEY_IS_DIRECT, false);
		map.put(FactoryCreator.KEY_NUM_THREADS, 10);
		
		BufferFactory bufferFactory = creator.createBufferFactory(map);
		StartableExecutorService executorSvc = creator.createExecSvcFactory(map);
		
		ChannelServiceFactory factory = createNewStack();
		Map<String, Object> props = new HashMap<String, Object>();
		props.put(ChannelManager.KEY_ID, id);
		props.put(ChannelManager.KEY_BUFFER_FACTORY, bufferFactory);
		props.put(ChannelManager.KEY_EXECUTORSVC_FACTORY, executorSvc);
		return factory.createChannelManager(props);
	}