Preparing to initialize the db.