DI and logging infrastructure done, Some problems with db initialization