> For the complete documentation index, see [llms.txt](https://docs.appkickstarter.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.appkickstarter.com/tech-things/dependency-injection.md).

# Dependency injection

There are 2 main packages in AppKickstarter. \
One is template with the base of the template and one is app.&#x20;

In app there is a appModule.kt file where there is a demo with a simple app that creates posts and list them on a paginated list. The screen models, datasources and use cases are defined in this appModule . You would want to override this, clear all the appModule and create your own unique application.&#x20;

```
val appModule = module {
    factoryOf(::AddPostScreenModel)
    factoryOf(::PostsListScreenModel) 
    singleOf(::AddPost)
    singleOf(::PostsFirestore)
    singleOf(::SavePostPicture)
}

```
