Moved ApplicationManager from dispenser to local creation