Getting database setup.