Initialization of the database.