simplified database setup module