package ${package}.entry;

import com.gwtplatform.dispatch.rpc.client.gin.RpcDispatchAsyncModule;
import com.gwtplatform.mvp.client.annotations.DefaultPlace;
import com.gwtplatform.mvp.client.annotations.ErrorPlace;
import com.gwtplatform.mvp.client.annotations.UnauthorizedPlace;
import com.gwtplatform.mvp.client.gin.AbstractPresenterModule;
import com.gwtplatform.mvp.client.gin.DefaultModule;
import com.gwtplatform.mvp.shared.proxy.RouteTokenFormatter;
import ${package}.NameTokens;
import ${package}.root.RootModule;
/*
import ${package}.home.HomeModule;
import ${package}.login.LoginModule;
import ${package}.platformMenu.PlatformMenuModule;
import ${package}.convert.ConvertModule;
import ${package}.security.SecurityModule;
*/

public class ClientModule extends AbstractPresenterModule {
    @Override
    protected void configure() {
    	// System Special
        // install(new DefaultModule());
    	install(new RpcDispatchAsyncModule());
    	install(new DefaultModule.Builder().tokenFormatter(RouteTokenFormatter.class).build());
        // DefaultPlaceManager Places
        bindConstant().annotatedWith(DefaultPlace.class).to(NameTokens.home);
        bindConstant().annotatedWith(ErrorPlace.class).to(NameTokens.home);
        bindConstant().annotatedWith(UnauthorizedPlace.class).to(NameTokens.home);

        // Application special
        install(new RootModule());
/*
        install(new PlatformMenuModule());
    	install(new HomeModule());
    	install(new LoginModule());
    	install(new ConvertModule());
    	install(new SecurityModule());
*/
    	bind(MyBootstrapper.class).asEagerSingleton();
        bind(CurrentUser.class).asEagerSingleton();
        bind(LoggedInGatekeeper.class);
    }
}

package ${package}.entry;

import com.gwtplatform.dispatch.rpc.client.gin.RpcDispatchAsyncModule;
import com.gwtplatform.mvp.client.annotations.DefaultPlace;
import com.gwtplatform.mvp.client.annotations.ErrorPlace;
import com.gwtplatform.mvp.client.annotations.UnauthorizedPlace;
import com.gwtplatform.mvp.client.gin.AbstractPresenterModule;
import com.gwtplatform.mvp.client.gin.DefaultModule;
import com.gwtplatform.mvp.shared.proxy.RouteTokenFormatter;
import ${package}.NameTokens;
import ${package}.root.RootModule;

public class ClientModule extends AbstractPresenterModule {
    @Override
    protected void configure() {
    	// System Special
        // install(new DefaultModule());
    	install(new RpcDispatchAsyncModule());
    	install(new DefaultModule.Builder().tokenFormatter(RouteTokenFormatter.class).build());
        // DefaultPlaceManager Places
        bindConstant().annotatedWith(DefaultPlace.class).to(NameTokens.home);
        bindConstant().annotatedWith(ErrorPlace.class).to(NameTokens.home);
        bindConstant().annotatedWith(UnauthorizedPlace.class).to(NameTokens.home);

        // Application special
        install(new RootModule());

    	bind(MyBootstrapper.class).asEagerSingleton();
        bind(CurrentUser.class).asEagerSingleton();
        bind(LoggedInGatekeeper.class);
    }
}

remove unused code.