refactor(app): add appManager