Beginning of AppManager