@Override
    protected void configure() {
        logger_.debug("Setting up service module");

        binder().install(new ExchangeModule());
        binder().install(new RepairModule());
        binder().install(new SimulationModule());

        try {
            bindLocalPeerContext();
        } catch (UnknownHostException e) {
            e.printStackTrace();
        }
        //bind(LocalPeerContextFactory.class);

        bindConstant()
                .annotatedWith(MaxRef.class)
                .to(maxRef_);
        bindConstant()
                .annotatedWith(MaxRecursions.class)
                .to(2);
        bindConstant()
                .annotatedWith(RepairTimeout.class)
                .to(1000); // milliseconds
    }