DB: Update config. Add some methods
DB: Update config. Add some methods
Repositories: Add some functions