First fully working version of the app manager.