AppManager.

Add AppManager, this is a singleton on charge of handling app data.