init the db