Load DB conf from env variable; PrepareDb closed in function