Added app list to environment and corrected the startApp()