initialize the database