Init the db