Extract class NerdLauncherAdapter into separate file.