how did the shogun improve the country