Simplify db init