Minor refactoring in Configuration. Add slick for working with databases