simplify database setup