Split DB creation from DB insertion