split back out db creation