add ThreadInterface
add base repositories
add getRepository method in managers