public class App {
public static void main(String[] args) {
final Injector injector = Guice.createInjector(new AppModule());
final Window window = injector.getInstance(Window.class);
window.show();
final NetworkChannel channel = injector.getInstance(NetworkChannel.class);
channel.open();
}
}