ApplicationManagerProvider.php first working version