refactor: rename AppContainer to AppThread