wip: launcher.php documentation/refactoring