new DatedEventIndexModule(),
new ShardedEventIndexModule(),
new PropertiesIndexModule(),
new UserEventIndexModule(),
new EventStorageModule(),
new UserStorageModule(),
new EventHubModule(properties)).with(new Module()));
final EventHubHandler eventHubHandler = injector.getInstance(EventHubHandler.class);
int port = injector.getInstance(Key.get(Integer.class, Names.named("eventhubhandler.port")));
final Server server = new Server(port);