What were the changes that occurred in Japan at the end of the Edo period?
(hint, what happened to the social hierarchy? and what natural disasters did they have to deal with?)