* Refactor the different repo methods into separate files * Move DefaultLiveness to the repository.go file to be shared across workers and controllers.