Create a repository for Setting and use it