bootstrap the database and perform the database operations.