Refactor Launcher.