IdGeneratorImpl idGenerator = new IdGeneratorImpl();
Configuration hbaseConf = getNewOrExistingConfiguration(zk);
BlobManager blobManager = getBlobManager(zk, hbaseConf);
InetSocketAddress lilySocketAddr = parseAddressAndPort(server.lilyAddressAndPort);
AvroLilyTransceiver transceiver = new AvroLilyTransceiver(lilySocketAddr, keepAlive);
HBaseTableFactoryImpl tableFactory = new HBaseTableFactoryImpl(hbaseConf);
AvroConverter avroConverter = new AvroConverter();
RemoteTypeManager remoteTypeManager = new RemoteTypeManager(lilySocketAddr, avroConverter, idGenerator, zk, schemaCache, keepAlive);
RecordFactory recordFactory = new RecordFactoryImpl();
RepositoryManager repositoryManager = new RemoteRepositoryManager(remoteTypeManager, idGenerator, recordFactory,
transceiver, avroConverter, blobManager, tableFactory, repositoryModel);