That is a speculation I have had. Very political. So, I suspect that your speculation is right on the money when it comes to the Torah was introduced to the hebrews.
Amazing, it confirmed the families of the priests of the time were confirmed by God to be the priests. (well doh).