Answer:
The Chinese had to open five ports to foreign trade
Depending on how early you are speaking of, but generally females were required to stay home and raise their children while males often went to work or war. If war, females usually found jobs as well to support their families whilst their spouse was away.
They are both independent agencies.