move set data directory to db initializer